package com.api.shopapi.service;

import com.api.shopapi.entity.GoodsColorRemark;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface GoodsColorRemarkService {

    int insert(GoodsColorRemark goodsColorRemark);

    int delete(String goodsColorRemarkCode);

    int update(GoodsColorRemark goodsColorRemark);

    GoodsColorRemark getByGoodsColorRemarkCode(String goodsColorRemarkCode);

    List<GoodsColorRemark> getList(String businessCode);

    PageInfo<GoodsColorRemark> getPageList(int pageIndex,int pageSize,String name,String businessCode);
}
